<?php
/**
* Datei enthält die abstrakte Klasse system
*
*/

/**
* defaultSite Klasse einbinden
* Wird zum erweitern benötigt.
*/
include_once($global['c']['paths']['class']."/defaultSite.abstract.php");

/**
* abstract Class system
* 
*
*
* @package		system
* @access 		protected
* @author		Stefan Blatter
* @version		1.0
* @copyright    	2008
* @license 		http://opensource.org/licenses/gpl-license.php GNU Public License
*/
abstract class system extends defaultSite{
	public function system($siteTitle){
		parent::__construct($siteTitle);
		
	}
	
	protected function formatNote($note, $system = false){
		if($system){
			$note = round($note*2,0)/2;
		} else {
			$note = round($note,1);
		}
		
		if(strlen($note) < 3){
			$note = $note.".0";
		}
		return $note;
	}
}

?>